package com.example.usercenter.constants;

import java.util.Arrays;
import java.util.List;

public interface UserConstant {
    String CUR_USER = "curUser";

    String USER_KEY_PREFIX = "friendmatch:user:recommend:";

    Long USER_EXPIRES_TIME = 30L; // 过期时间为30min

    List<Integer> PRE_CACHE_ID_LIST = Arrays.asList(1, 2, 4);

    String REDISSON_KEY = "lock";
}
